import sys

from defaults import *

def load(f):
    try:
        cfg = open(f, 'r').read()
        exec cfg in globals()
    except:
        sys.stderr.write('Can\'t parse configuration file: "%s"\n' % (f, ))
        raise
